SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5d50bae4bb5bfb2811c5824030897a7c1bdda00f79283784c23bdfc4237938c4' 
  AND token = 'sodH2XOgfwr8jc4dynRt0NSPXdq6oIxUKi7MEfgU+18=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}