SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a96264c66b785764de8d132d0da53e5ded7e23ec7096a36c5b1ae98417be51a' 
  AND token = '0uGzyPEn3W++bBeT8jUGeRA36/ceF0V/58WJ2c4y8e8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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