SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8bd657a810b83fa55dc73b8c233b544fe245bbe1d5bb57ca2bf44c4a7217492' 
  AND token = 'vmkoMDKPTelsAsXCCLwLWXlrAsBA5568A7F3j/Um5ow=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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