SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a06d377de5ebbe29dc5041a4f697af501c247b30e3b24909c9de5b2bc742e83b' 
  AND token = 'R9K6OR5+dDXsE0ka0eXo/aU7Evd/K5BcjlGG2jOhnEg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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