SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '28c3c5275b21ba800ca98c6f7969cbf6141385ee42871f49fc437907cdc301d2' 
  AND token = 'vH75NdNsJ/wWcaC5LDo6StabkgEdoP7rJkLs84y/wrk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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