SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30f0ea6f60206de50258741ca9eb45434f643ae22f72fc946a4227f9a07ec382' 
  AND token = 'Uva2D309qwje51OyW/i4rpvm+ofWYhyiIwAml0L9a/k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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