SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c0e379f9f5e035c4db4c0035aa9a796b68a48a97f84589e742de66d77b6cdadb' 
  AND token = 'zUhB8ADproZH/q38JtOH7WOuJ1xZbWpIupi21twBNiw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00069

JSON explain

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