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

Query time 0.00029

JSON explain

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