SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39ebac44cb7ae53a81f6043c00592cf80e27a4bfda484722eb0398bd9a3f9be5' 
  AND token = 'XmEsLvy08mqMhX4Ab8zxJ+bKNtcr5BjxV9LVKq0qiwM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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