SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd15417839a2f121e159c981520311ca1ede6cd663655a8b6c5550defb93279da' 
  AND token = 'SQ3zpfeZgo4N067tJjHdyTYbBgw/8Ua1O9yvHK3QatE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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