SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '406bd571984bea9d845a93dd5d4b95b95e7722ebedcad1dd240db04633a7e988' 
  AND token = 'm0fgzS+1KHorLItNkhFFeUkWbzjddl+W7TQFUBhF5y4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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