SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51a05fecac8d72544d4152708a8b56462ab311d405e2c83a1087d5fdc87c0a66' 
  AND token = 'w07feHghWj4G/T1GwxVMS2pVyIqDjAqcu+h7xbXXgHM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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