SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '538d6b14639991cd246d38acf377b49db75877188f51cd71760b9432e130defe' 
  AND token = '5p8ZF4tZ9cTiezx4MMafeziVyppc8xhTGplBeur3PHc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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