SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c21876655111037d168838821b0fa7f70d098853610b567c381ac2363fa4fb8c' 
  AND token = 'Yd1ye8siO4ddgpmblM8Qu0zkFX6J0oJ2JwOVcd8l0FI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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