SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38843939509b000b694430178c95f34828f657d0e7230cc91c1744c5efd3fe3c' 
  AND token = 'P2Rf/YPitW6S33eiEjzi80Q/5ZEQZj+4ePS97U8ed60=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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