SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a29e6e739db66e73113e90ef5b825f922cce61f5151471376d340d80d90f730e' 
  AND token = 'kn27yxkf82Cw7yExgnj6dgd5Yip8K8iiz8X3xePVqoY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

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