SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e7e6e40aab8bf7bdd688981be876c0b4ba30ebecde981f1cda310c346cb2d229' 
  AND token = 'Lt5PaOUCdFo1B3FDA/B69U3O4ZROd5ErOrhc0SQy+G4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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