SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0237f7a7a39fd8cfd3de0d47ad6f5f4924b342361fed3fe20fe989534425b663' 
  AND token = 'FhXhx6J2lTR2u1L3ccb5qNfc/4jPAEmMR4tJnbFaG28=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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