SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a058ed47316f0788b8c2a66649f9817ef82f5b085aaff103b156fd3bda27049' 
  AND token = 'Gv/X1dNE05aAYJKhfxhCBxcMS5RIkGii7e93TaVPpWs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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