SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2c7d46fa4507ed1af2b674b6b035a823537827d5d8c2736017ca3402a1761944' 
  AND token = '7j2Cj3V5SlwPCJNEyTt8zhFFOVzMADH2OgPqrhopvas=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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