SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1c6017dabc781be95c9909d1eca3e97ab86dbef4aaad9035a97af4b91bd479df' 
  AND token = 'YEkDdUiCHs/ztCO9sREa9si1O4YEG0xe1MCG3rl2wPc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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