SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff206b475e385c43a8407297fbb13e0389a4b281847056fb1dd657392e416056' 
  AND token = 'y8ydUMuKUcGT3BE8FW2Ju1rAAGtOk+9enedc1/2ATJU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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