SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d77ddd34a8e71759f48a977dd6f4095556dd7ff39a27b91c5e45b6eb31a9d7f' 
  AND token = 'x8hulnYU+igPL4k1mwMPsgVNE02nsld4lkhQiKL7uos=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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