SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c3249e664360309dc4fb63285cdec05feec3b7c44edb4408f2c7cadd65ee9986' 
  AND token = 'cWj5Bpiu40efs0Wnttt/lTnTmwalhHa46SzPqMHhkzY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}