SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '297e79ab1a83619310d3e10b79d2695cd3dd1b4d054064709ac44c0c8bf14b96' 
  AND token = 'mdNOpqA2266p168uPTvncFx23LcQNULeKXQrmpIRy+c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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