SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '342a6801a5a4eea120165555f6b30aaf991c288f4fa53d4a70f31edcbb19929d' 
  AND token = 'UZkBBI6XOnJfTH/YEIm1wZBGPoX6ZAYzysnmS6TOksw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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